package edu.biwu.array;

import edu.biwu.sms.PrimaryStudent;
import edu.biwu.sms.Student;

public class Demo {
    public static void main(String[] args) {
        Student[] student = new Student[3];
        student[0] = new PrimaryStudent(3424,"老王",97,32);
        student[1] = new PrimaryStudent(3424,"小孙",95,35);
        student[2] = new PrimaryStudent(342543,"小李",45,53);
        System.out.println(student[0].getName());

    }
}
